{template 'total/header'}

<style>
    .hp-visited a:visited{color: #444;}
    .input-append button{font-size:12px;}
</style>
<div style="clear:both">
    <h5>
        <span class="add-on"><i class="icon-calendar"></i> 月活跃数据 </span>
    </h5>
</div>

<table class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th><center>月份</center></th>
            <th><center>新增用户</center></th>
            <th><center>活跃用户</center></th>
            <th><center>补充新增</center></th>
            <th><center>补充活跃</center></th>
            <th><center>累计活跃</center></th>
            <th><center>留存用户活跃</center></th>
        </tr>
    </thead>
    <tbody>
        {loop $totalMonths $v}
        <tr>
            <td><center><a href="./clientTotalMonthDesc?ym={$v['ym']}">{$v['ym']}</a></center></td>
            <td><center>{eval echo $v['new_android']+$v['new_ios']} <code style="color:#333">{$v['new_android']}</code> <code style="color:#333">{$v['new_ios']}</code></center></td>
            <td><center>{eval echo $v['active_android']+$v['active_ios']} <code style="color:#333">{$v['active_android']}</code> <code style="color:#333">{$v['active_ios']}</code></center></td>
            <td><center>{eval echo $v['new_android_kt']+$v['new_ios_kt']} <code style="color:#333">{$v['new_android_kt']}</code> <code style="color:#333">{$v['new_ios_kt']}</code></center></td>
            <td><center>{eval echo $v['active_android_kt']+$v['active_ios_kt']} <code style="color:#333">{$v['active_android_kt']}</code> <code style="color:#333">{$v['active_ios_kt']}</code></center></td>
            <td><center>{eval echo $v['active_android']+$v['active_ios']+$v['active_android_kt']+$v['active_ios_kt']}</center></td>
            <td><center>{$v['stay_active_rate']}</center></td>
        </tr>
        {/loop}
    </tbody>
</table>

{template 'total/footer'}